package com.correction.dao;

import java.util.Vector;

import com.correction.classes.Utilisateur;

public interface DAO {
	void add(Object object);
	boolean removeAll();
	boolean remove(String key, String value);
	public void delete(String key, int value);
	boolean removeAt(int index);
	void update(String key,String oldValue,String[] newValue);
	int updateRow1(String value, String[]row2);
	void setAt(int index,Object object);
	Vector<String> select(String key);
	public String[][] selectAll();
	String[] select(String key, String value);
	Object select(int index);
	public void add(Object objint,Object objstring);
	public Utilisateur getUtilisateur(String login,String pwd);
	public void updatechamps(String champs,String champsCle,String ancien,String nouveau);
	public String [] getfields(String key);
	public int select(String retour,String key, String value);
	public int getUtil(String login,String pwd);
	public Vector<String> selectKeys3(String key1,String key2,String key3);
	public String selecttype(String retour, String key1, String value1,String key2,String value2);
	public String getUtilisateurfromID(String id);
	int size();
	public String [][] selectAll1(String key, String valeur);
	public int getIdFromKey(String key, String value);
	public Vector<String> selectProjet(String client);
	public String [][] selectAll3( String sel,String addTable,String relations, String key1, String valeur1, String key2, String valeur2, String valeur3);
	public Vector<String> getFields(String name);
}
